home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1994 March / Internet Info CD-ROM (Walnut Creek) (March 1994).iso / answers / comp / linux / howto / installation < prev    next >
Text File  |  1994-03-17  |  51KB  |  1,152 lines

  1. Newsgroups: comp.os.linux.announce,comp.os.linux.help,comp.os.linux.admin,news.answers,comp.answers
  2. Path: bloom-beacon.mit.edu!gatech!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!ghost.dsi.unimi.it!batcomputer!cornell!mdw
  3. From: mdw@sunsite.unc.edu (Matt Welsh)
  4. Subject: Linux Installation HOWTO
  5. Message-ID: <1994Mar17.233334.4167@cs.cornell.edu>
  6. Followup-To: poster
  7. Summary: How to obtain and install Linux, the free UNIX implementation for
  8.      Intel 80386/80486 based machines.
  9. Keywords: Linux, HOWTO, FAQ, installation
  10. Sender: mdw@cs.cornell.edu (Matt Welsh)
  11. Organization: Linux. It's not just for breakfast anymore.
  12. Date: Thu, 17 Mar 1994 23:33:34 GMT
  13. Approved: linux-announce@tc.cornell.edu (Matt Welsh)
  14. Lines: 1135
  15. Xref: bloom-beacon.mit.edu comp.os.linux.announce:1979 comp.os.linux.help:26451 comp.os.linux.admin:5672 news.answers:16495 comp.answers:4203
  16.  
  17. Archive-name: linux/howto/installation
  18. Last-modified: 5 March 1994
  19.  
  20. This is a new version of the Linux Installation HOWTO, which covers just the
  21. Slackware distribution of Linux. It is a pre-release, and therefore has
  22. some rough edges. Please let me know if there are any mistakes!  
  23.  
  24. You can find a nicely-formatted PostScript and .dvi version of this HOWTO
  25. (as well as others) on sunsite.unc.edu in /pub/Linux/docs/HOWTO/other-formats.
  26.  
  27.   The Linux Installation HOWTO
  28.   by Matt Welsh, mdw@sunsite.unc.edu
  29.   v2.0, 5 March 1994
  30.  
  31.   This  document describes how to obtain and install the Linux software,
  32.   focusing on the popular Slackware distribution.  It is the first docu-
  33.   ment which a new Linux user should read to get started.
  34.  
  35.   1.  Introduction
  36.  
  37.   Linux  is  a freely-distributable implementation of UNIX for 80386 and
  38.   80486 machines. It supports a wide  range  of  software,  including  X
  39.   Windows,  Emacs,  TCP/IP networking (including SLIP), the works.  This
  40.   document assumes that you have heard of and know about Linux, and just
  41.   want to sit down and install it.
  42.  
  43.  
  44.  
  45.   1.1.  Other sources of information
  46.  
  47.   If  you have never heard of Linux before, there are several sources of
  48.   basic information about the system. One is the  Linux  FAQ,  available
  49.   from  sunsite.unc.edu:/pub/Linux/docs.  This  directory  contains many
  50.   other documents about Linux, including the Linux INFO-SHEET and  META-
  51.   FAQ,  both  of which are good introductory documents about Linux. Also
  52.   take  a  look  at  the  USENET   newsgroups   comp.os.linux.help   and
  53.   comp.os.linux.announce.
  54.  
  55.   Another  source  of  online  Linux  documentation  is  the Linux HOWTO
  56.   archive, on  sunsite.unc.edu:/pub/Linux/docs/HOWTO.  The  file  HOWTO-
  57.   INDEX in that directory explains what Linux HOWTOs are available.
  58.  
  59.   The  Linux Documentation Project is writing a set of manuals and books
  60.   about Linux, all of which are freely distributable on  the  net.   The
  61.   directory  /pub/Linux/docs/LDP on sunsite.unc.edu contains the current
  62.   set of LDP manuals.
  63.  
  64.   The book ``Linux Installation and  Getting  Started''  is  a  complete
  65.   guide  to  getting  and  installing  Linux,  as well as how to use the
  66.   system once you've installed it. It contains a  complete  tutorial  to
  67.   using  and  running  the  system,  and  much  more information than is
  68.   contained here. This HOWTO is simply a condensation  of  some  of  the
  69.   most   important  information  in  that  book.  You  can  get  ``Linux
  70.   Installation   and   Getting   Started''   from   sunsite.unc.edu   in
  71.   /pub/Linux/docs/LDP/install-guide.   The  README  file there describes
  72.   how you can order a printed copy of the book (about 180 pages).
  73.  
  74.  
  75.  
  76.   1.2.  New versions of this document
  77.  
  78.   New versions of the Linux  Installation  HOWTO  will  be  periodically
  79.   posted  to  comp.os.linux.announce,  comp.os.linux,  and news.answers.
  80.   They will also be uploaded  to  various  Linux  FTP  sites,  including
  81.   sunsite.unc.edu:/pub/Linux/docs/HOWTO.
  82.  
  83.  
  84.  
  85.   1.3.  Feedback
  86.  
  87.   If  you  have  questions  or comments about this document, please feel
  88.   free to  mail  Matt  Welsh,  at  mdw@sunsite.unc.edu.  I  welcome  any
  89.   suggestions,  criticism, or postcards. If you find a mistake with this
  90.   document, please let me know so I can correct it in the next  version.
  91.   Thanks.
  92.  
  93.   2.  Hardware Requirements
  94.  
  95.   What  kind  of system is needed to run Linux? This is a good question;
  96.   the actual hardware requirements for the system  change  periodically.
  97.   The  Linux  Hardware-HOWTO  gives a (more or less) complete listing of
  98.   hardware supported by Linux. The  Linux  INFO-SHEET  provides  another
  99.   list.
  100.  
  101.   At  the  very  least,  a  hardware  configuration  that looks like the
  102.   following is required:
  103.  
  104.   Any ISA, EISA or VESA  Local  Bus  80386  or  80486  system  will  do.
  105.   Currently,  the  MicroChannel  (MCA)  architecture  (found on IBM PS/2
  106.   machines) is not supported.  Any CPU from the 386SX to the 486DX2 will
  107.   work.  You do not need a math coprocessor, although it is nice to have
  108.   one.
  109.  
  110.   You need at least 4 megabytes of memory in your machine.  Technically,
  111.   Linux  will  run with only 2 megs, but most installations and software
  112.   require 4. The more memory you have, the happier you'll be. I  suggest
  113.   8 or 16 megabytes if you're planning to use X-Windows.
  114.  
  115.   Of  course,  you'll  need  a  hard  drive  and  an  AT-standard  drive
  116.   controller. All MFM, RLL, and IDE drives and controllers should  work.
  117.   Many  SCSI  drives and adaptors are supported as well; the Linux SCSI-
  118.   HOWTO contains more information on SCSI.
  119.  
  120.   Linux can actually run on a single 5.25" HD floppy,  but  that's  only
  121.   useful for installation and maintenance.
  122.  
  123.   Free  space  on your hard drive is needed as well. The amount of space
  124.   needed depends  on  how  much  software  you  plan  to  install.  Most
  125.   installations  require  somewhere  in  the  ballpark of 40 to 80 megs.
  126.   This includes space for the software, swap space (used as virtual  RAM
  127.   on your machine), and free space for users, and so on.
  128.  
  129.   It's  conceivable that you could run a minimal Linux system in 10 megs
  130.   or less, and it's conceivable that you could use well over 100 megs or
  131.   more  for  all  of  your  Linux  software.  The  amount varies greatly
  132.   depending on the amount of software you install and how much space you
  133.   require. More about this later.
  134.  
  135.   Linux  will  co-exist  with  other  operating systems, such as MS-DOS,
  136.   Microsoft Windows, or OS/2, on your hard drive. (In fact you can  even
  137.   access  MS-DOS  files  and  run  some MS-DOS programs from Linux.)  In
  138.   other words, when partitioning your drive for Linux,  MS-DOS  or  OS/2
  139.   live  on  their  own partitions, and Linux exists on its own. We'll go
  140.   into more detail later.
  141.  
  142.   You do NOT need to be running MS-DOS, OS/2,  or  any  other  operating
  143.   system  to  use  Linux.  Linux  is a completely different, stand-alone
  144.   operating system and does not rely on other OS's for installation  and
  145.   use.
  146.  
  147.   You  also  need a Hercules, CGA, EGA, VGA, or Super VGA video card and
  148.   monitor.  In general, if your video card and monitor work under MS-DOS
  149.   then  it  should  work  under  Linux.  However,  if  you wish to run X
  150.   Windows, there are other restrictions on the supported video hardware.
  151.   The  Linux XFree86-HOWTO contains more information about running X and
  152.   its requirements.
  153.  
  154.   In all, the minimal setup for Linux is not much more than is  required
  155.   for most MS-DOS or MS Windows systems sold today. If you have a 386 or
  156.   486 with at least 4 megs of RAM, then you'll be happy  running  Linux.
  157.   Linux does not require huge amounts of diskspace, memory, or processor
  158.   speed. I (used to) run Linux on a 386/16 MHz (the slowest machine  you
  159.   can get) with 4 megs of RAM, and was quite happy. The more you want to
  160.   do, the  more  memory  (and  faster  processor)  you'll  need.  In  my
  161.   experience  a  486  with  16  megabytes  of  RAM running Linux outdoes
  162.   several models of workstation.
  163.  
  164.  
  165.  
  166.   3.  Getting Linux
  167.  
  168.   In this section we'll cover how to obtain the Linux software.
  169.  
  170.  
  171.   3.1.  Linux Distributions
  172.  
  173.   Before you can install Linux,  you  need  to  decide  on  one  of  the
  174.   ``distributions''  of  Linux  which are available. There is no single,
  175.   standard release of the Linux software---there are many such releases.
  176.   Each  release has its own documentation and installation instructions.
  177.  
  178.   Linux distributions are available both via anonymous FTP and via  mail
  179.   order on diskette, tape, and CD-ROM. The Linux Distribution HOWTO (see
  180.   sunsite.unc.edu in the file  /pub/Linux/docs/HOWTO/Distribution-HOWTO)
  181.   includes a list of many Linux distributions available via FTP and mail
  182.   order.
  183.  
  184.   The  release  of  Linux  covered  in  this  HOWTO  is  the   Slackware
  185.   distribution,      maintained     by     Patrick     J.     Volkerding
  186.   (volkerdi@mhd1.moorhead.msus.edu). It  is  one  of  the  most  popular
  187.   distributions  available;  it  is  very up-to-date and includes a good
  188.   amount  of  software  including  X-Windows,  TeX,  and  others.    The
  189.   Slackware distribution consists of a number of ``disk sets'', each one
  190.   containing a particular type of software (for example, the d disk  set
  191.   contains  development  tools  such as the gcc compiler, and so forth).
  192.   You can elect to install whatever disk sets you like, and  can  easily
  193.   install new ones later.
  194.  
  195.   Slackware  is  also easy to install; it is very self-explanatory.  (So
  196.   self-explanatory, in fact, that this HOWTO may not be necessary.)
  197.  
  198.   Information on other releases can be found in the  Linux  Installation
  199.   and  Getting  Started  manual  from  the  LDP. You can also find other
  200.   releases    of    Linux    on    various    FTP    sites,    including
  201.   sunsite.unc.edu:/pub/Linux/distributions  See  the  Distribution-HOWTO
  202.   (mentioned above) for details.
  203.  
  204.   The instructions here should be general enough  to  be  applicable  to
  205.   releases  other  than  Slackware. I hate to be biased towards a single
  206.   release, but I don't have time to keep up with them all! And Slackware
  207.   appears to have what most Linux users are looking for.
  208.  
  209.  
  210.  
  211.   3.2.  Slackware Space Requirements
  212.  
  213.   Unfortunately,   Slackware  does  not  maintain  a  complete  list  of
  214.   diskspace requirements  for  each  disk  set.  You  need  at  least  7
  215.   megabytes to install just the A series of disks; a very rough estimate
  216.   of the required diskspace would be 2 or 2.5 megabytes per disk.
  217.  
  218.   The following disk sets are available:
  219.  
  220.      A  The base system. Enough to get up and running and have elvis and
  221.         comm programs available. Based around the 0.99pl15 Linux kernel,
  222.         and the new filesystem standard (FSSTND).
  223.  
  224.         These disks are known to fit on 1.2M disks, although the rest of
  225.         Slackware  won't.  If you have only a 1.2M floppy, you can still
  226.         install the base system,  download  other  disks  you  want  and
  227.         install them from your hard drive.
  228.  
  229.  
  230.      AP Various  applications  and  add  ons,  such as the manual pages,
  231.         groff, ispell (GNU and international versions), term, joe, jove,
  232.         ghostscript, sc, bc, and the quota patches.
  233.  
  234.  
  235.      D  Program  development.  GCC/G++/Objective  C 2.5.8, make (GNU and
  236.         BSD), byacc and GNU bison, flex, the 4.5.19  C  libraries,  gdb,
  237.         kernel  source  for 0.99pl15, SVGAlib, ncurses, clisp, f2c, p2c,
  238.         m4, perl, rcs.
  239.  
  240.  
  241.      E  GNU Emacs 19.22.
  242.  
  243.  
  244.      F  A collection of FAQs and other documentation.
  245.  
  246.  
  247.      N  Networking. TCP/IP, UUCP, mailx, dip, deliver, elm, pine, smail,
  248.         cnews, nn, tin, trn.
  249.  
  250.  
  251.      OOP
  252.         Object  Oriented  Programming.  GNU  Smalltalk  1.1.1,  and  the
  253.         Smalltalk Interface to X. (STIX)
  254.  
  255.  
  256.      TCL
  257.         Tcl, Tk, TclX, blt, itcl.
  258.  
  259.  
  260.      Y  Games. The BSD games collection, and Tetris for terminals.
  261.  
  262.  
  263.      X  The base XFree86 2.0 system, with libXpm, fvwm 1.20,  and  xlock
  264.         added.
  265.  
  266.  
  267.      XAP
  268.         X applications: X11 ghostscript, libgr13, seyon, workman, xfile-
  269.         manager, xv 3.00, GNU chess and xboard, xfm 1.2, ghostview,  and
  270.         various X games.
  271.  
  272.  
  273.      XD X11 program development. X11 libraries, server linkkit, PEX sup-
  274.         port.
  275.  
  276.  
  277.      XV Xview 3.2 release 5. XView libraries, and the Open Look  virtual
  278.         and non-virtual window managers.
  279.  
  280.  
  281.      IV Interviews libraries, include files, and the doc and idraw apps.
  282.         These run unreasonably slow on my machine, but they might  still
  283.         be worth looking at.
  284.  
  285.  
  286.      OI ParcPlace's Object Builder 2.0 and Object Interface Library 4.0,
  287.         generously made available for Linux developers according to  the
  288.         terms in the "copying" notice found in these directories.
  289.  
  290.  
  291.      T  TeX  support. Since many people have asked about TeX, I borrowed
  292.         the 3 TeX disks from SLS and  went  through  them  changing  the
  293.         filesystem  structure  somewhat  and fixing permissions. You can
  294.         take this as a sign that Slackware TeX support may  continue  to
  295.         improve.
  296.  
  297.   You  must get the ``a'' disk set; the rest are optional.  I suggest at
  298.   least installing the a, ap, and d sets, as well as the x  set  if  you
  299.   plan to run X Windows.
  300.  
  301.  
  302.   3.3.  Getting Slackware via Mail Order
  303.  
  304.   Slackware is available for free from the Internet, as well as via mail
  305.   order (if you don't have Internet access, or don't want  to  take  the
  306.   time  to  download  it  yourself).  The  next section describes how to
  307.   download Slackware from the Internet.
  308.  
  309.   The various mail order distributors for  Slackware  (and  other  Linux
  310.   distributions)  are  listed  in  the  Linux  Distribution  HOWTO, from
  311.   sunsite.unc.edu in the directory pubLinux/docs/HOWTO/.
  312.  
  313.  
  314.   3.4.  Getting Slackware from the Internet
  315.  
  316.   The Slackware release of Linux may be found on any number of FTP sites
  317.   worldwide. The Linux META-FAQ lists several of the Linux FTP sites; we
  318.   suggest that you try to find the software on the FTP site nearest you,
  319.   to  reduce  net traffic. However, two of the major Linux FTP sites are
  320.   sunsite.unc.edu and tsx-11.mit.edu.
  321.  
  322.   The      Slackware      release      may       be       found       on
  323.   sunsite.unc.edu:/pub/Linux/distributions/slackware    as    well    as
  324.   tsx-11.mit.edu:/pub/linux/packages/slackware.
  325.  
  326.  
  327.   3.4.1.  Downloading the files
  328.  
  329.   You need to download the following files from  the  FTP  sites  listed
  330.   above. Make sure that you use binary mode when FTPing them!
  331.  
  332.  
  333.   o  The  various  README  files,  as well as SLACKWARE_FAQ.  Be sure to
  334.      read these files before attempting to install the software, to  get
  335.      any updates or changes to this document.
  336.  
  337.   o  A bootdisk image. This is a file that you will write to a floppy to
  338.      create the Slackware boot disk. If you have a  1.44  megabyte  boot
  339.      floppy  (3.5"), look in the directory bootdisk/1_44meg. If you have
  340.      a  1.2  megabyte  boot  floppy  (5.25"),  look  in  the   directory
  341.      bootdisk/1_2meg.
  342.  
  343.      You need one of the following files:
  344.  
  345.   o  bareboot.gz.  This is the ``trimmed-down'' boot floppy that doesn't
  346.      include SCSI, CD-ROM, or networking support. Use this if  you  only
  347.      have an IDE hard drive controller and aren't going to be installing
  348.      over the network.
  349.  
  350.   o  cd_boot.gz. This is a boot floppy with CD-ROM drivers enabled.  Get
  351.      this if you're going to be installing from CD-ROM (only relevant if
  352.      you bought a Slackware CD-ROM of some kind.)
  353.  
  354.   o  net_boot.gz. This is a boot floppy with TCP/IP networking  enabled.
  355.      Get this if you are going to install over the network using NFS.
  356.  
  357.   o  onlyscsi.gz.  This  is a boot floppy with only SCSI support; no IDE
  358.      or networking support. Get this if you have a SCSI drive controller
  359.      that seems to be conflicting with other drivers on your system.
  360.  
  361.   o  scsiboot.gz.  This  is  a  boot  floppy with everything; IDE, SCSI,
  362.      networking, CD-ROM support, the works. You should probably try this
  363.      one  first;  use  bareboot.gz  or one of the other boot floppies if
  364.      this doesn't work for you.
  365.  
  366.      You need only one of the above bootdisk images,  depending  on  the
  367.      type hardware that you have in your system.
  368.  
  369.      The  issue  here  is  that some hardware drivers conflict with each
  370.      other in strange ways, and instead of attempting to debug  hardware
  371.      problems on your system it's easier to use a boot floppy image with
  372.      only certain drivers enabled. Most users  should  try  scsiboot  or
  373.      bareboot.
  374.  
  375.   o  A rootdisk image. This is a file that you will write to a floppy to
  376.      create the Slackware installation disk. As with the bootdisk image,
  377.      look  in  bootdisk/1_44meg or bootdisk/1_2meg depending on the type
  378.      of boot floppy drive that you have.
  379.  
  380.      You need one of the following files:
  381.  
  382.   o  color144.gz. The menu-based color installation disk  for  1.44  meg
  383.      drives. Most users should use this rootdisk.
  384.  
  385.   o  tty144.gz.  The  terminal-based  installation  disk  for  1.44  meg
  386.      drives.  Use this rootdisk if color144.gz doesn't work for you  for
  387.      some reason. It is a bit dated and the installation procedure isn't
  388.      exactly like that found on color144.gz, but it should work.
  389.  
  390.   o  colorlite.gz. The menu-based color installation disk  for  1.2  meg
  391.      drives.  Some  things have been trimmed off of this disk to make it
  392.      fit on a 1.2 meg floppy, but it should work.
  393.  
  394.   o  tty12.gz. The terminal-based installation disk for 1.2 meg  drives.
  395.      Use   this  rootdisk  if  you  have  a  1.2  meg  boot  floppy  and
  396.      colorlite.gz doesn't work for you.
  397.  
  398.      Again, you need only one of the above rootdisk images, depending on
  399.      the type of boot floppy drive that you have.
  400.  
  401.   o  GZIP.EXE.  This  is  an  MS-DOS  executable of the gzip compression
  402.      program used to compress the  boot  and  rootdisk  files  (the  .gz
  403.      extension  on  the  filenames indicates this). This can be found in
  404.      the bootdisk directory.
  405.  
  406.   o  RAWRITE.EXE. This is an MS-DOS program that will write the contents
  407.      of  a  file  (such  as  the boot and rootdisk images) directly to a
  408.      floppy, without regard to  format.  You  will  use  RAWRITE.EXE  to
  409.      create  the  boot and root floppies.  This can be found in the top-
  410.      level Slackware directory on the FTP site.
  411.  
  412.      You only need RAWRITE.EXE and GZIP.EXE if you plan  to  create  the
  413.      boot and root floppies from an MS-DOS system. If you have access to
  414.      a UNIX workstation with a floppy drive instead, you can create  the
  415.      floppies from there, using the dd command.  See the man page for dd
  416.      and ask your local UNIX gurus for assistance.
  417.  
  418.   o  The files in the directories a1, a2, and a3.  These files  make  up
  419.      the  ``a''  disk  set  of  the  Slackware  distribution.  They  are
  420.      required. Later, you will copy these files to MS-DOS  floppies  for
  421.      installation (or, you can install from your hard drive). Therefore,
  422.      when you download these files, keep them in  separate  directories;
  423.      don't mix the a1 files with the a2 files, and so on.
  424.  
  425.      Be  sure that you get the files without periods in the filenames as
  426.      well. That is, within FTP, use the command ``mget  *''  instead  of
  427.      ``mget *.*''.
  428.  
  429.   o  The files in the directories ap1, ap2, etc., depending on what disk
  430.      sets you are installing. For example, if  you  are  installing  the
  431.      ``x''  disk series, get the files in the directories x1 through x5.
  432.      As with the ``a'' disk set, above, be sure to  keep  the  files  in
  433.      separate directories when you download them.
  434.  
  435.  
  436.   3.4.2.  Installation methods
  437.  
  438.   Slackware provides several different means of installing the software.
  439.   The most popular is installing from an MS-DOS partition on  your  hard
  440.   drive;  the  other is to install from a set of MS-DOS floppies created
  441.   from the disk sets that you downloaded.
  442.  
  443.   You can also install Slackware from an NFS-mounted filesystem  over  a
  444.   TCP/IP  network.  This is somewhat involved, however, and a discussion
  445.   of how to do this is out of the range of this document.  If  you  need
  446.   help,  ask your local UNIX gurus how to set up your system to mount an
  447.   NFS filesystem which you can install Slackware from. (For this, you'll
  448.   need another system on the network which has Slackware available on an
  449.   exported filesystem.)
  450.  
  451.   First we'll describe how to create the boot  and  root  floppies,  and
  452.   then  we'll  describe  how to set things up for either a hard drive or
  453.   floppy installation.
  454.  
  455.  
  456.   3.4.2.1.  Creating the boot and root floppies
  457.  
  458.   You must create floppies from the bootdisk and  rootdisk  images  that
  459.   you downloaded, no matter what type of installation you will be doing.
  460.   This is where the MS-DOS programs GZIP.EXE and RAWRITE.EXE  come  into
  461.   play.
  462.  
  463.   First  you  must  uncompress  the  bootdisk  and rootdisk images using
  464.   GZIP.EXE (on an MS-DOS system, of  course).  For  example,  if  you're
  465.   using the bareboot.gz bootdisk image, issue the MS-DOS command:
  466.  
  467.        C:\> GZIP -D BAREBOOT.GZ
  468.  
  469.  
  470.   which  will  uncompress  bareboot.gz  and  leave  you  with  the  file
  471.   bareboot. You  must  similarly  uncompress  the  rootdisk  image.  For
  472.   example, if you are using the rootdisk color144.gz, issue the command:
  473.  
  474.        C:\> GZIP -D COLOR144.GZ
  475.  
  476.  
  477.   which will uncompress the file and leave you with color144.
  478.  
  479.   Next, you must have two high-density MS-DOS formatted floppies.  (They
  480.   must be of the same type; that is, if your boot floppy drive is a 3.5"
  481.   drive, both floppies must be high-density 3.5" disks.)  You  will  use
  482.   RAWRITE.EXE to write the boot and rootdisk images to the floppies.
  483.  
  484.   For example, if you're using the bareboot bootdisk, use the command:
  485.  
  486.        C:\> RAWRITE
  487.  
  488.  
  489.   Answer  the  prompts  for  the  name  of  the  file  to write (such as
  490.   BAREBOOT) and the floppy to write it to (such  as  A:).  RAWRITE  will
  491.   copy  the  file,  block-by-block,  directly  to  the  floppy. Also use
  492.   RAWRITE for the root disk image (such as COLOR144). When you're  done,
  493.   you'll  have  two  floppies:  one  containing the boot disk, the other
  494.   containing the root disk. Note that these two floppies will no  longer
  495.   be  readable  by  MS-DOS  (they are ``Linux format'' floppies, in some
  496.   sense).
  497.  
  498.   Be sure that you're using brand-new, error-free floppies. The floppies
  499.   must have no bad blocks on them.
  500.  
  501.   Note  that  you  do  not need to be running MS-DOS in order to install
  502.   Slackware. However, running MS-DOS makes it easier to create the  boot
  503.   and  root floppies, and it makes it easier to install the software (as
  504.   you can install directly from an MS-DOS partition on your system).  If
  505.   you  are not running MS-DOS on your system, you can use someone else's
  506.   MS-DOS system just to create the floppies, and install from there.
  507.  
  508.   It is not necessary to use GZIP.EXE and RAWRITE.EXE  under  MS-DOS  to
  509.   create the boot and root floppies, either. You can use the gzip and dd
  510.   commands on a UNIX system to do the same job.   (For  this,  you  will
  511.   need  a UNIX workstation with a floppy drive, of course.) For example,
  512.   on a Sun workstation with the floppy drive on  device  /dev/rfd0,  you
  513.   can use the commands:
  514.  
  515.  
  516.        $ gunzip bareboot.gz
  517.        $ dd if=bareboot of=/dev/rfd0 obs=18k
  518.  
  519.  
  520.  
  521.  
  522.   You  must  provide  the  appropriate  block  size  argument  (the  obs
  523.   argument) on some workstations (e.g., Suns) or this will fail. If  you
  524.   have problems the man page for dd will be instructive.
  525.  
  526.  
  527.   3.4.2.2.  Preparing for hard drive installation
  528.  
  529.   If  you're planning on installing the Slackware software directly from
  530.   the hard drive (which is much faster and more reliable than  a  floppy
  531.   installation),  you  will  need an MS-DOS partition on the system that
  532.   you're installing Slackware to. (That is, you must already be  running
  533.   MS-DOS on the system.)
  534.  
  535.   To  prepare  for hard drive installation, simply create a directory on
  536.   the hard drive to store the Slackware files. For example,
  537.  
  538.        C:\> MKDIR SLACKWAR
  539.  
  540.  
  541.   will create the directory C:\SLACKWAR to  hold  the  Slackware  files.
  542.   Under this directory, you should create the subdirectories A1, A2, and
  543.   so on, for each disk set that you downloaded. All of  the  files  from
  544.   the A1 disk should go into the directory SLACKWAR\A1, and so forth.
  545.  
  546.   Now  you're  ready  to  go  on  and  install the software; skip to the
  547.   section ``Installing the Software''.
  548.  
  549.  
  550.   3.4.2.3.  Preparing for floppy installation
  551.  
  552.   If you wish to install Slackware from floppies  instead  of  the  hard
  553.   drive, you'll need to have one blank, MS-DOS formatted floppy for each
  554.   Slackware disk that you downloaded. These disks must  be  high-density
  555.   format.
  556.  
  557.   The  A  disk  set  (disks  A1  through A3) may be either 3.5" or 5.25"
  558.   floppies. However, the rest of the  disk  sets  must  be  3.5"  disks.
  559.   Therefore,  if  you  only  have  a  5.25" floppy drive, you'll need to
  560.   borrow a 3.5" drive from someone in order to install disk  sets  other
  561.   than  A. (Or, you can install from the hard drive, as explained in the
  562.   previous section.)
  563.  
  564.   To make the disks, simply copy the files from each Slackware directory
  565.   onto an MS-DOS formatted floppy, using the MS-DOS COPY command. As so:
  566.  
  567.        C:\> COPY A1\*.* A:
  568.  
  569.  
  570.   will copy the contents of the A1 disk to the floppy in drive A:.   You
  571.   should repeat this for each disk that you downloaded.
  572.  
  573.   You  do not need to modify or uncompress the files on the disks in any
  574.   way; you merely need to copy them to MS-DOS  floppies.  The  Slackware
  575.   installation  procedure takes care of uncompressing the files for you.
  576.  
  577.  
  578.   4.  Installing the Software
  579.  
  580.   In this  section  we'll  describe  how  to  prepare  your  system  for
  581.   installing Slackware, and finally how to go about installing it.
  582.  
  583.  
  584.   4.1.  Repartitioning
  585.  
  586.   On most systems, the hard drive is already dedicated to partitions for
  587.   MS-DOS, OS/2, and so on.  You need to resize these partitions in order
  588.   to make space for Linux.
  589.  
  590.   A  partition  is  just  a  section  of  the hard drive set aside for a
  591.   particular operating system to use. If you only have MS-DOS installed,
  592.   your  hard drive probably has just one partition, entirely for MS-DOS.
  593.   To use Linux, however, you'll need to repartition the drive,  so  that
  594.   you have one partition for MS-DOS, and one (or more) for Linux.
  595.  
  596.   The  problem with resizing partitions is that there is no way to do it
  597.   (easily) without deleting the data on  those  partitions.   Therefore,
  598.   you   will   need  to  make  a  full  backup  of  your  system  before
  599.   repartitioning. In order to resize a partition, we simply  delete  the
  600.   partition(s), and re-create them with smaller sizes.
  601.  
  602.   NOTE:  There is a non-destructive disk repartitioner available for MS-
  603.   DOS,  called  FIPS.  Look  on   sunsite.unc.edu   in   the   directory
  604.   /pub/Linux/system/Install. With FIPS, a disk optimizer (such as Norton
  605.   Disk Doctor), and a little bit of luck, you should be able  to  resize
  606.   MS-DOS partitions without destroying the data on them.
  607.  
  608.   If  you're  not  using  FIPS,  however,  the  classic  way  to  modify
  609.   partitions is with the program FDISK. For example, let's say that  you
  610.   have an 80 meg hard drive, dedicated to MS-DOS. You'd like to split it
  611.   in half---40 megs for MS-DOS and 40 megs for Linux.  In  order  to  do
  612.   this,  you  need  to  run FDISK under MS-DOS, delete the 80 meg MS-DOS
  613.   partition, and re-create a 40 meg MS-DOS partition in its  place.  You
  614.   can  then  format the new partition and reinstall your MS-DOS software
  615.   from backups.
  616.  
  617.   Use of MS-DOS FDISK should be self-explanatory. You'll need to make  a
  618.   full  backup  of  your  system, and have a bootable MS-DOS floppy with
  619.   utilities such as FDISK.EXE and FORMAT.COM installed (the original MS-
  620.   DOS  installation  disks  are the best thing to use for this). Booting
  621.   from the floppy, you run FDISK on your hard drive, and  use  the  menu
  622.   options to delete your current MS-DOS partition, and then re-create it
  623.   with a smaller size. You can then re-install the MS-DOS software  from
  624.   backup.
  625.  
  626.   The mechanism used to repartition for OS/2 and other operating systems
  627.   is similar. See the documentation  for  those  operating  systems  for
  628.   details.
  629.  
  630.  
  631.  
  632.   4.2.  Creating partitions for Linux
  633.  
  634.   After  repartitioning  your  drive,  you need to create partitions for
  635.   Linux. Linux requires at least one partition, for the root filesystem,
  636.   which  will  hold  the  Linux  software  itself.   You may wish to use
  637.   additional partitions for other filesystems, as  discussed  below.  In
  638.   addition, most users set aside a swap partition, to be used as virtual
  639.   RAM on your machine.  If you have 4 megabytes of RAM or less,  a  swap
  640.   partition  is  required  to  install  the  software.  It  is  strongly
  641.   recommended that you have a swap partition anyway, unless you have  16
  642.   megabytes or more of physical RAM.
  643.  
  644.   In  order  to  create  your Linux partitions, first boot the Slackware
  645.   bootdisk. After the system boots, you will see the message:
  646.  
  647.  
  648.        Please remove the boot kernel disk from your floppy drive,
  649.        insert a disk to be loaded into the ramdisk, and press
  650.        [enter] to continue.
  651.  
  652.  
  653.  
  654.  
  655.   At this point you should remove the bootdisk from the drive and insert
  656.   the rootdisk. Then press enter to go on.
  657.  
  658.   The  rootdisk  will be loaded into memory, and you should be presented
  659.   with a login prompt. Login as ``root''.
  660.  
  661.  
  662.        darkstar login: root
  663.        #
  664.  
  665.  
  666.  
  667.  
  668.   Note to IBM PS/1, ValuePoint, and ThinkPad Users: If you  use  an  IBM
  669.   PS/1,  ValuePoint,  or ThinkPad machine, the system will not recognize
  670.   your hard drive when you boot the Slackware bootdisk. This is  because
  671.   these machines do not store drive geometry information in the CMOS (as
  672.   they should) and you  have  to  specify  the  geometry  by  hand  when
  673.   booting.  (Later  you  can  get  around  this  by  installing the LILO
  674.   software, which allows you to boot Linux from the hard drive.)
  675.  
  676.   You must use a bootdisk other than ``bareboot'' for this to  work.   I
  677.   suggest using scsiboot. While booting the bootdisk, hold down the left
  678.   shift key. You will be presented with a boot menu which will  describe
  679.   how  to  specify  your  hard  drive  geometry  (that is, the number of
  680.   cylinders, heads, and sectors per track) for your drive using  the  hd
  681.   boot  option. You can get information on your drive geometry from your
  682.   hard drive manual or by running MS-DOS FDISK.
  683.  
  684.  
  685.  
  686.  
  687.   4.2.1.  Using fdisk
  688.  
  689.   To create partitions, you'll  use  the  Linux  fdisk  program.   After
  690.   logging in as root, run the command
  691.  
  692.        fdisk <drive>
  693.  
  694.  
  695.   where  <drive>  is the name of the drive that you wish to create Linux
  696.   partitions on. Hard drive device names are:
  697.  
  698.   o  /dev/hda First IDE drive
  699.  
  700.   o  /dev/hdb Second IDE drive
  701.  
  702.   o  /dev/sda First SCSI drive
  703.  
  704.   o  /dev/sdb Second SCSI drive
  705.  
  706.      and so on. For example, to create Linux  partitions  on  the  first
  707.      SCSI drive in your system, use the command
  708.  
  709.        fdisk /dev/sda
  710.  
  711.  
  712.   If you use fdisk without an argument, it will assume /dev/hda.
  713.  
  714.   Use  of  fdisk  is  simple.  The  command  ``p'' displays your current
  715.   partition table. ``n'' creates a new partition, and  ``d''  deletes  a
  716.   partition.
  717.  
  718.   To  Linux,  partitions  are given a name based on the drive which they
  719.   belong to. For example, the first partition on /dev/hda is  /dev/hda1,
  720.   the second is /dev/hda2, and so on.
  721.  
  722.   NOTE: You should not create or delete partitions for operating systems
  723.   other than Linux with Linux fdisk. That is, don't create or delete MS-
  724.   DOS  partitions  with  this  version of fdisk; use MS-DOS's version of
  725.   FDISK instead. If you try  to  create  MS-DOS  partitions  with  Linux
  726.   fdisk,  chances  are  MS-DOS  will not recognize the partition and not
  727.   boot correctly.
  728.  
  729.   Here's an example of using  fdisk.  Here,  we  have  a  single  MS-DOS
  730.   partition  using  61693 blocks on the drive, and the rest of the drive
  731.   is free for Linux. (Under Linux, one block is 1024  bytes.  Therefore,
  732.   61693  blocks  is  about  61  megabytes.)   We  will  create two Linux
  733.   partitions: one for swap, and one for the root filesystem.
  734.  
  735.   First, we use the ``p''  command  to  display  the  current  partition
  736.   table.  As you can see, /dev/hda1 (the first partition on /dev/hda) is
  737.   a DOS partition of 61693 blocks.
  738.  
  739.   ______________________________________________________________________
  740.   Command (m for help):   p
  741.   Disk /dev/hda: 16 heads, 38 sectors, 683 cylinders
  742.   Units = cylinders of 608 * 512 bytes
  743.  
  744.        Device Boot  Begin   Start     End  Blocks   Id  System
  745.     /dev/hda1   *       1       1     203   61693    6  DOS 16-bit >=32M
  746.  
  747.   Command (m for help):
  748.   ______________________________________________________________________
  749.  
  750.  
  751.  
  752.  
  753.   Next, we use the ``n'' command to create a new  partition.  The  Linux
  754.   root partition will be 80 megs in size.
  755.  
  756.   ______________________________________________________________________
  757.   Command (m for help):  n
  758.   Command action
  759.       e   extended
  760.       p   primary partition (1-4)
  761.   p
  762.   ______________________________________________________________________
  763.  
  764.  
  765.  
  766.   A  primary  partition is simply one of the 4 partitions on your drive.
  767.   An extended partition allows you to create multiple logical partitions
  768.   within  it; this allows you to go over the four-partition limit on the
  769.   drive. In most cases, you should only use  primary  partitions  unless
  770.   you need more than 4 partitions on a drive.
  771.  
  772.   ______________________________________________________________________
  773.   Partition number (1-4): 2
  774.   First cylinder (204-683):  204
  775.   Last cylinder or +size or +sizeM or +sizeK (204-683): +80M
  776.   ______________________________________________________________________
  777.  
  778.  
  779.  
  780.   The  first  cylinder  should  be  the  cylinder  AFTER  where the last
  781.   partition left off. In this case, /dev/hda1 ended on cylinder 203,  so
  782.   we start the new partition at cylinder 204.
  783.  
  784.   As  you  can  see,  if  we  use  the notation ``+80M'', it specifies a
  785.   partition of 80 megs in size. Likewise, the  notation  ``+80K''  would
  786.   specify an 80 kilobyte partition, and ``+80'' would specify just an 80
  787.   byte partition.
  788.  
  789.   ______________________________________________________________________
  790.   Warning: Linux cannot currently use 33090 sectors of this partition
  791.   ______________________________________________________________________
  792.  
  793.  
  794.  
  795.   If you see this warning, you can ignore it. It is left  over  from  an
  796.   old  restriction that Linux filesystems could only be 64 megs in size.
  797.   However, with newer filesystem types, that is no  longer  the  case...
  798.   partitions can now be up to 4 terabytes in size.
  799.  
  800.   Next, we create our 10 megabyte swap partition, /dev/hda3.
  801.  
  802.   ______________________________________________________________________
  803.   Command (m for help): n
  804.   Command action
  805.       e   extended
  806.       p   primary partition (1-4)
  807.   p
  808.  
  809.   Partition number (1-4): 3
  810.   First cylinder (474-683):  474
  811.   Last cylinder or +size or +sizeM or +sizeK (474-683):  +10M
  812.   ______________________________________________________________________
  813.  
  814.  
  815.  
  816.   Again,  we  display  the  contents  of the partition table. Be sure to
  817.   write down the information here, especially the size of each partition
  818.   in blocks. You need this information later.
  819.   ______________________________________________________________________
  820.   Command (m for help): p
  821.   Disk /dev/hda: 16 heads, 38 sectors, 683 cylinders
  822.   Units = cylinders of 608 * 512 bytes
  823.  
  824.        Device Boot  Begin   Start     End  Blocks   Id  System
  825.     /dev/hda1   *       1       1     203   61693    6  DOS 16-bit >=32M
  826.     /dev/hda2         204     204     473   82080   83  Linux native
  827.     /dev/hda3         474     474     507   10336   83  Linux native
  828.   ______________________________________________________________________
  829.  
  830.  
  831.  
  832.   Note  that the Linux swap partition (here, /dev/hda3) has type ``Linux
  833.   native''. We need to change the type of the swap partition to  ``Linux
  834.   swap''  so  that  the installation program will recognize it as a swap
  835.   partition. In order to do this, use the fdisk ``t'' command:
  836.  
  837.   ______________________________________________________________________
  838.   Command (m for help): t
  839.   Partition number (1-4): 3
  840.   Hex code (type L to list codes): 82
  841.   ______________________________________________________________________
  842.  
  843.  
  844.  
  845.   If you use ``L'' to list the type codes, you'll find that  82  is  the
  846.   code corresponding to Linux swap.
  847.  
  848.   To  quit  fdisk  and  save the changes to the partition table, use the
  849.   ``w'' command. To quit fdisk WITHOUT saving  changes,  use  the  ``q''
  850.   command.
  851.  
  852.   After  quitting  fdisk, the system may tell you to reboot to make sure
  853.   that the changes too effect. In general there is no reason  to  reboot
  854.   after using fdisk---the version of fdisk on the Slackware distribution
  855.   is smart enough to update the partitions without rebooting.
  856.  
  857.  
  858.   4.3.  Preparing the swap space
  859.  
  860.   If you have 4 megabytes or RAM or less in your machine, you will  need
  861.   to  create a swap partition (using fdisk) and format it (using mkswap)
  862.   before you can install the software.
  863.  
  864.   If you have more than 4 megabytes of RAM, you  should  only  create  a
  865.   swap  partition  (if you want to use one)---the Slackware installation
  866.   procedure  will  take  care  of  formatting  and  enabling  the   swap
  867.   partition.  So, if you have more than 4 megs of RAM, you can skip this
  868.   section and go on to the section ``Installing the Software''.
  869.  
  870.   If you get any  ``out  of  memory''  errors  during  the  installation
  871.   procedure  you  should  create  a  swap  partition  and  enable  it as
  872.   described here.
  873.  
  874.   To prepare the swap space for use, we  use  the  mkswap  command.   It
  875.   takes the form:
  876.  
  877.        mkswap -c <partition> <size>
  878.  
  879.  
  880.   where <partition> is the partition name, such as /dev/hda3, and <size>
  881.   is the size of the partition in blocks.
  882.  
  883.   For example, if you created a swap  partition  on  /dev/hda3  of  size
  884.   10336 blocks, use the command
  885.        mkswap -c /dev/hda3 10336
  886.  
  887.  
  888.   The  -c  option  tells mkswap to check for bad blocks on the partition
  889.   when preparing the swap space. If  you  see  any  ``read_intr''  error
  890.   messages  during the mkswap operation, this means that bad blocks were
  891.   found (and flagged). So you can ignore these errors.
  892.  
  893.   To enable swapping on the new device, use the command
  894.  
  895.        swapon <partition>
  896.  
  897.  
  898.   For example, for our swap space on /dev/hda3, we use
  899.  
  900.        swapon /dev/hda3
  901.  
  902.  
  903.   We're now swapping with about 10 megabytes more virtual memory.
  904.  
  905.   You should execute mkswap and swapon for each swap partition that  you
  906.   created (if you decided to create more than one).
  907.  
  908.  
  909.   4.4.  Installing the software
  910.  
  911.   Installing   the   Slackware  release  is  very  simple;  it's  almost
  912.   automatic. You use the setup  command,  which  guides  you  through  a
  913.   series  of menus which allow you to specify the means of installation,
  914.   the partitions to use, and so forth.  Almost everything is  automatic.
  915.  
  916.   Here,  we're  not  going  to  document  many of the specifics of using
  917.   setup, because it changes from time  to  time.  setup  is  very  self-
  918.   explanatory;  it  contains  its own documentation. Just to give you an
  919.   idea  of  what  it's  like,  however,   we'll   describe   what   most
  920.   installations are like using setup.
  921.  
  922.   Before  you  begin,  be  sure  that  you  have  a  high-density MS-DOS
  923.   formatted floppy on hand. You will use this floppy to create  a  Linux
  924.   boot diskette.
  925.  
  926.   After  running  fdisk  (and,  perhaps, mkswap and swapon if you have 4
  927.   megs of RAM or less), issue the command
  928.  
  929.        # setup
  930.  
  931.  
  932.   This will present you with a colourful menu with various options  such
  933.   as ``Addswap'' (to set up your swap space), ``Source'' (to specify the
  934.   source of the software to install, such  as  floppy  or  hard  drive),
  935.   ``Target'' (to specify where to install the software), and so on.
  936.  
  937.   In  general,  you should go through the menu commands in the following
  938.   order:
  939.  
  940.   1. Addswap. If you created a swap partition  (using  fdisk),  use  the
  941.      addswap  menu option to tell the system about it.  This option will
  942.      present you with a list of possible swap partitions; just  type  in
  943.      the  name  of  the  swap partition(s) that you wish to use (such as
  944.      /dev/hda3). The system will then ask you if you want to format  the
  945.      swap  partition,  which you should do unless you already ran mkswap
  946.      and swapon on it.  That is, you should format  the  swap  partition
  947.      unless you already formatted and enabled it by hand as described in
  948.      the previous section.
  949.  
  950.  
  951.   2. Source. This menu option  lets  you  specify  the  source  for  the
  952.      software  to install. You can select several means of installation,
  953.      such as from floppy or from hard drive. If you are installing  from
  954.      floppies, the system will ask you which floppy drive to use. If you
  955.      are installing from hard  drive,  the  system  will  ask  you  what
  956.      partition  the files are stored on, and what directory they are in.
  957.  
  958.      For example, if you are installing from an MS-DOS partition on your
  959.      hard  drive,  and  the  Slackware  files  are  under  the directory
  960.      C:\SLACKWAR, you should enter the  name  of  the  MS-DOS  partition
  961.      (such  as  /dev/hda1)  and  the  name  of  the  directory  (such as
  962.      /slackwar). Note that you  should  use  forward  slashes  (/),  not
  963.      backslashes (\), in the directory name.
  964.  
  965.      There are other means of installation, such as CD-ROM. These should
  966.      be self-explanatory as well.
  967.  
  968.   3. Target. This menu  item  lets  you  specify  what  partition(s)  to
  969.      install the software on. The system will display a list of possible
  970.      partitions. First you will be asked to enter the name of  the  root
  971.      partition,  such  as  /dev/hda2.  You  will be asked if you want to
  972.      format the partition; unless you  are  installing  on  a  partition
  973.      previously formatted for Linux you should do so. You should use the
  974.      Second Extended Filesystem (ext2fs) type for the partition.
  975.  
  976.      You will also be given a chance to use  additional  partitions  for
  977.      different  parts of the directory tree. For example, if you created
  978.      a separate partition for the /usr filesystem, you should enter  the
  979.      name  of  that  partition  and the directory that it corresponds to
  980.      (/usr) when asked.
  981.  
  982.   4. Disksets. This option allows you to specify the disksets  you  wish
  983.      to install. Use the arrow keys to scroll through the list; pressing
  984.      the spacebar selects or deselects a set. Press return  when  you're
  985.      done selecting disk sets.
  986.  
  987.      You  may wish to only install a minimal system at this time. That's
  988.      fine. Only the A diskset is required. After you have installed  the
  989.      software you may run setup to install other disksets.
  990.  
  991.   5. Install. After setting up all of the parameters above, you're ready
  992.      to install the software. First the system will ask you what type of
  993.      prompting  to  use;  you should use the ``normal'' prompting method
  994.      (unless  you're  an  expert  and  have  modified  the  installation
  995.      tagfiles in some way).
  996.  
  997.      The  system  will  simply  go through each disk set and install the
  998.      software. For each software package, a dialog box will be displayed
  999.      describing  the  software. Software packages that are required will
  1000.      be installed automatically. For optional software packages you will
  1001.      be  given  the  option  of  either installing or not installing the
  1002.      package. (If you don't wish to install a certain package  now,  you
  1003.      can always use setup on your system to install it later).
  1004.  
  1005.      While the software is installing, watch out for error messages that
  1006.      may be displayed. The most common error that you're likely  to  run
  1007.      into is ``device full'', which means that you have run out of space
  1008.      on your Linux partitions. Unfortunately, the Slackware installation
  1009.      procedure  is  not  quite  smart  enough  to  detect this, and will
  1010.      attempt to continue installing the software regardless. If you  get
  1011.      any  kind  of error messages during the installation procedure, you
  1012.      may wish to break out of the installation program (using Ctrl-C) to
  1013.      record  them.  The only solution for the ``device full'' problem is
  1014.      to re-create your Linux partitions with different sizes, or attempt
  1015.      to  reinstall the software without several of the optional software
  1016.      packages.
  1017.   4.5.  After installation
  1018.  
  1019.   After installation is complete, and if all  goes  well,  you  will  be
  1020.   given  the  option of creating a ``standard boot disk'', which you can
  1021.   use to boot your newly-installed Linux system. For this you will  need
  1022.   a  blank,  high-density MS-DOS formatted diskette of the type that you
  1023.   boot with on your system. Simply insert the disk when prompted  and  a
  1024.   boot diskette will be created.
  1025.  
  1026.   You  will also be given the chance to install LILO on your hard drive.
  1027.   LILO (which stands for LInux LOader) is a program that will allow  you
  1028.   to  boot  Linux  (as  well as other operating systems, such as MS-DOS)
  1029.   from your hard drive.  If  you  wish  to  do  this,  just  select  the
  1030.   appropriate menu option and follow the prompts.
  1031.  
  1032.   If  you are using OS/2's Boot Manager, the menu will include an option
  1033.   for configuring LILO for use with the Boot Manager, so  that  you  can
  1034.   boot Linux from it.
  1035.  
  1036.   Note that this automated LILO installation procedure is not foolproof;
  1037.   there are situations in which is can fail. Be sure that you have a way
  1038.   to  boot MS-DOS, Linux, and other operating systems from floppy before
  1039.   you attempt to install LILO. If the LILO installation fails  you  will
  1040.   be able to boot your system from floppy and correct the problem.
  1041.  
  1042.   The postinstallation procedure will also take you through several menu
  1043.   items allowing you to configure your system. This includes  specifying
  1044.   your  modem  and  mouse device, as well as your time zone. Just follow
  1045.   the menu options.
  1046.  
  1047.  
  1048.   4.6.  Booting your new system
  1049.  
  1050.   If everything went as planned, you should be able to boot  your  Linux
  1051.   boot  floppy  (not  the  Slackware installation floppy, but the floppy
  1052.   created after installing the software). Or, if you installed LILO, you
  1053.   should  be  able to boot from the hard drive.  After booting, login as
  1054.   root. Congratulations! You have your very own Linux system.
  1055.  
  1056.   If you are booting using LILO,  try  holding  down  shift  or  control
  1057.   during  boot.  This  will present you with a boot prompt; press tab to
  1058.   see a list of options. In this way you  can  boot  Linux,  MS-DOS,  or
  1059.   whatever directly from LILO.
  1060.  
  1061.   After  booting  your  system  and logging in as root, one of the first
  1062.   things you should do is create an account for yourself.   The  adduser
  1063.   command may be used for this purpose. For example,
  1064.  
  1065.  
  1066.        # adduser
  1067.        Login to add (^C to quit): ebersol
  1068.        Full Name: Norbert Ebersol
  1069.        GID [100]: 100
  1070.        UID [501]: 501
  1071.        Home Directory [/home/ebersol]: /home/ebersol
  1072.        Shell [/bin/bash]: /bin/bash
  1073.        Password [ebersol]: new.password
  1074.  
  1075.        Information for new user [ebersol]:
  1076.        Home directory: [/home/ebersol]  Shell: [/bin/bash]
  1077.        Password: [new.password]  UID: [502] GID:[100]
  1078.        Is this correct? [y/n]: y
  1079.  
  1080.  
  1081.  
  1082.  
  1083.   adduser  will prompt you for various parameters, such as the username,
  1084.   full name, GID (group ID), UID (user ID), and so on. For the most part
  1085.   you  can use the defaults. If you're unfamiliar with creating users on
  1086.   a UNIX system, I strongly suggest  getting  a  book  on  UNIX  systems
  1087.   administration.  It will help you greatly in setting up and using your
  1088.   new system.
  1089.  
  1090.   You can now login as the new user. You can use the keys Alt-F1 through
  1091.   Alt-F8  to  switch  between  virtual consoles, which will allow you to
  1092.   login multiple times from the console. The passwd command can be  used
  1093.   to  set  the passwords on your new accounts; you should set a password
  1094.   for root and any new users that you create.
  1095.  
  1096.   Also, the hostname of your machine is set at boot  time  in  the  file
  1097.   /etc/rc.d/rc.M.  You  should  edit  this  file (as root) to change the
  1098.   hostname of the machine.  You should edit the lines in this file which
  1099.   run  the commands hostname or hostname_notcp. (The default hostname is
  1100.   darkstar.) You may also wish to edit the domainname commands  in  this
  1101.   file, if you are on a TCP/IP network.
  1102.  
  1103.   Obviously,  there  are many more things to setup and configure. A good
  1104.   book on UNIX systems administration should help. (I suggest  Essential
  1105.   Systems  Administration  from O'Reilly and Associates.)  You will pick
  1106.   these things up as time goes by. You should read various  other  Linux
  1107.   HOWTOs, such as the NET-2-HOWTO and Printing-HOWTO, for information on
  1108.   other configuration tasks.
  1109.  
  1110.   After that, the system is all yours... have fun!
  1111.  
  1112.  
  1113.  
  1114.   5.  Miscellaneous
  1115.  
  1116.   I don't like to be biased towards the Slackware release,  however,  in
  1117.   order to document multiple releases of Linux, this file would be much,
  1118.   much longer. It is simpler and more coherent  to  cover  the  specific
  1119.   instructions   for   a   single  release  of  Linux.  The  book  Linux
  1120.   Installation  and   Getting   Started   currently   includes   general
  1121.   installation  instructions  which  should  be  applicable  to  ``any''
  1122.   distribution of Linux. However, because  the  installation  procedures
  1123.   are  so  varied,  covering  them  all  would be very confusing both to
  1124.   myself and to the reader.
  1125.  
  1126.   The basic concepts in this document still hold, no matter what release
  1127.   of  Linux  you  choose.  For  example, all releases require you to run
  1128.   fdisk, and all  of  them  (to  my  knowledge)  include  some  kind  of
  1129.   installation  menu similar to the setup program.  If you choose to use
  1130.   a release of Linux other than Slackware, the READMEs and  installation
  1131.   instructions  that come with that release should be easy to understand
  1132.   in the context of the material presented here.
  1133.  
  1134.   If you would like a more complete  discussion  of  Linux  installation
  1135.   (instead  of  the  "quick"  examples  given here), read the book Linux
  1136.   Installation   and   Getting   Started,   from   sunsite.unc.edu    in
  1137.   /pub/Linux/docs/LDP.   This book includes a complete discussion of how
  1138.   to obtain and install Linux, as well  as  a  basic  UNIX  and  systems
  1139.   administration tutorial for new users.
  1140.  
  1141.   Please  mail me at mdw@sunsite.unc.edu if any part of this document is
  1142.   confusing or incorrect. I depend on feedback from readers in order  to
  1143.   maintain  this  document!  I  also like to help answer questions about
  1144.   Linux installation, if you have any.
  1145.  
  1146.   I'd like to thank Patrick Volkerding for his  work  on  the  Slackware
  1147.   distribution and assistance in preparing this document.
  1148.  
  1149.   Best of luck with your new Linux system!
  1150.  
  1151.   Cheers, mdw
  1152.